#ifndef QQTSYSTEMINFO_WIN_H
#define QQTSYSTEMINFO_WIN_H

#include <QObject>

#if defined (__MSVC__)
#pragma once
#pragma comment(lib,"Kernel32.lib")
#pragma comment(lib,"Psapi.lib")
#endif

#if defined (__WIN__)
#include <Windows.h>
#include <TlHelp32.h>
#include <direct.h>
#include <winternl.h>
#include <Psapi.h>
#endif

#include "qqtsysteminfo.h"
class QQtSystemInfo;
class QQtSystemInfoPrivate
{
public:
    explicit QQtSystemInfoPrivate ( QQtSystemInfo* parent = 0 );
    ~QQtSystemInfoPrivate() { }
    bool getOSInfo ( );
    bool getCPUInfo ( TCPUTable& cpuInfo );
    bool getMEMInfo ( TMemTable& memInfo );
    bool getDISKInfo ( TDiskTable& diskInfo );
private:
    Q_DECLARE_PUBLIC ( QQtSystemInfo )
    QQtSystemInfo* q_ptr;
};

#endif //QQTSYSTEMINFO_WIN_H
